package choose;

public class Item {//选项类答案
String title,content;


public Item(String title, String content) {
	super();
	this.title = title;
	this.content = content;
}

@Override
public String toString() {
	return  title + ":" + content;
}

}
class Selection{//选择题
	int num,mark=0;
	String content,answer;
	Item itA,itB,itC,itD;
	public Selection(int num, int mark, String content, String answer, Item itA, Item itB, Item itC, Item itD) {
		super();
		this.num = num;
		this.mark = mark;
		this.content = content;
		this.answer = answer;
		this.itA = itA;
		this.itB = itB;
		this.itC = itC;
		this.itD = itD;
	}
	@Override
	public String toString() {
		return  num +"、"+ content + "("+mark+ "分)(答案是：" + answer +")\n"
				+ itA + "\n" + itB + "\n" + itC + "\n" + itD;
	}
	
}